<?php
/**
 * Created by PhpStorm.
 * User: chniccs
 * Date: 2019-11-28
 * Time: 10:34
 */

namespace app\model;

//砍价订单表
class AdminKanjiaOrder extends Base
{

    public function order(){
        return $this->hasOne('AdminOrder','id','order_id');
    }
    public function orderItem(){
        return $this->hasOne('AdminOrderItem','id','order_item_id');
    }
    public function goods(){
        return $this->hasOne('AdminActives','id','goods_id');
    }
}